home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / gle33b_4.zip / GLE_SUR.ZIP / LETZ.HLP < prev    next >
Text File  |  1991-03-28  |  1KB  |  50 lines

  1.     LETZ generates a data file of z values given an 
  2.     expression in terms of x and y.  
  3.  
  4.     e.g. the following example does something like this:
  5.  
  6.         For y = 0 to 20 step 1
  7.             For x = 0 to 30 step 1
  8.                 z[x,y] = x+sin(y^2)/pi+10.22 
  9.             next x
  10.         next y
  11.     
  12.  
  13. ----------- Log of a typical LETZ session ------------------------------
  14. $ letz
  15. File to store data in ? jack
  16. Storing data in {jack.z} and commands in {jack.let} 
  17. Enter xmin,xmax,xstep (on one line) [0,30,1] ? 
  18. Enter ymin,ymax,ystep [0,30,1] ? 0,20,1
  19. For y = 0 to 20 step 1
  20. For x = 0 to 30 step 1
  21. Valid funtions:  (trig functions use radians)
  22.     abs(), atn(), cos(), exp(), fix(),
  23.     int(), log(), log10(), rnd(), sgn(), sin(),
  24.     sqr(), sqrt(), tan(), PI, (x^3 = x*x*x) 
  25.     e.g.    3*x^2+sin(y*180/pi)
  26. Enter equation:    
  27.  ? x+sin(y^2)/pi+10.22
  28. z = x+sin(y^2)/pi+10.22 
  29.  
  30. Y = 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 
  31.  
  32. Use   LETZ <jack.let   to remake the same data file
  33. $ ----------- End of Log ------------------------------
  34.  
  35.     The file JACK.Z now contains the required data.
  36.  
  37.     The file JACK.LET contains
  38.  
  39. --------------JACK.LET-----------
  40. jack.z
  41. 0, 30, 1
  42. 0, 20, 1
  43. x+sin(y^2)/pi+10.22
  44. -------------------end of file----
  45.  
  46.     This can be edited and then used to regenerate the data
  47.     using a different range or a different equation.
  48.  
  49.